<?php

/*
 * The form search quickly
 */

class Top extends CWidget{
    
    public $info;
    
    public function init() {
        parent::init();
    }
    
    public function run() {
        parent::run();
        
        $this->info = (Yii::app()->user->getState('info_ungvien')->tengoi != '' ? Yii::app()->user->getState('info_ungvien')->tengoi : Yii::app()->user->getState('info_ungvien')->username);
        
        $this->render('top', array('info' => $this->info));
        
    }
    
}

?>
